<!--
<%= javascript_include_tag('task/block_list.js') %>
-->
<div id="blk_content">
  <div id="blk_content_head" style="border-bottom:2px solid #0066cc;">
    <%= image_tag("/images/blk_title_dsd_1.gif", {:alt=>""}) %>
  </div>
  
  <div id="blk_content_main">
    <table class="blk_content_table" border="0" cellspacing="0" cellpadding="0">
      <%- for @task in @tasks 
            if @task.progress_kbn == 3
                color = '#cccccc'
            else
                color = '#000000'
            end
      -%>
      <tr id="block_list_task_row_<%= @task.project_tree_id.to_s %>" style="color:<%= color %>;">
        <td width="41">
          <%= disp_today_icon( @task.dat_projectcomp ) %>
        </td>
        <td width="15"><%= disp_priority( @task.dat_projectcomp ) %></td>
        <td><%= disp_detail_name( @task.dat_projectcomp ) %></td>
        <td width="80"><%= disp_comp_exp_date( @task.dat_projectcomp ) %></td>
        <td width="100" style="text-align:right;">
          <span id="block_list_task_form_<%= @task.id %>">
            <%= hidden_field :task, :id  %>
          </span>
          <%= link_to( app_localized_message( :label, :confirmation ), {:controller=>:project, :action=>:index}, {:id => 'project_index_task_confirmation_'+@task.project_tree_id.to_s, :class => 'project_index_task_confirmation'} ) %>&nbsp;｜
          <%= link_to_function( app_localized_message( :label, :report ), "App.Page.thispage.onTskReport('" + @task.project_tree_id.to_s + "') ;" ) %>
        </td>
      </tr>
      <%- end -%>
    </table>
  </div>
  
  <div id="blk_content_bottom">
  </div>

</div>
